<?php 
	require_once('function/connectDB.php');
	$ids = $_POST['id'];

	$sql = "DELETE FROM email WHERE id IN(".$ids.")";
	$result = mysql_query($sql) or die("Restrict Access");
	
	if($result)
	{
		echo 'deleted';
	}
	else
	{
		echo 'nondelete';
	}
?>